<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>

<div id="ssmed_relatet_products">
    <h3 id="ssmed_relatet_products_h3">
        <?php echo $VM_LANG->_('PHPSHOP_RELATED_PRODUCTS_HEADING') ?>
    </h3>
    <?php $rlp_count = 0;
            while($products->next_record()) {
             $rlp_count++; 
            }
          $products ->reset()
    ?>
	<div class="ssmed_relatet_product">
        <?php while($products->next_record()):?>
            <div class="ssmed_relatet_product_content"  style="width:<?php echo (100/$rlp_count);?>%">
      		    <?php echo $ps_product->product_snapshot( $products->f('product_sku') ) ?>
            </div>
	   <?php endwhile; ?>
    </div>
</div>


